import { CCBoolean, Component, Vec2, Vec3, _decorator } from "cc";
const { ccclass, property,executeInEditMode } = _decorator;

//场景中物体的根对象
@ccclass('IObject')
export class IObject extends Component {

    //占地大小
    @property({type:Vec3,displayName:"占地大小"})
    size:Vec3 = new Vec3;

    //是否上下对称
    @property({type:CCBoolean,displayName:"是否上下对称"})
    isMirror:boolean = true;

}
